﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using yq.CacheHelp;

namespace yq.CacheHelp
{
    /// <summary>
    /// 缓存更新收集器
    /// </summary>
    public class CaCheRefresh
    {
        IList<string> list = new List<string>();

        /// <summary>
        /// 获取收卷的列表
        /// </summary>
        /// <returns></returns>
        public IList<string> Get()
        {
            return list;
        }

        /// <summary>
        /// 添加对象
        /// </summary>
        /// <param name="id"></param>
        public void Add<T>() where T : new()
        {
            list.Add(new T().GetType().FullName);
        }

    
    }

}
